Lga command group
This command group is legacy! For new developments please use Legic command group instead.
Originally this command group provided low-level access to the first LEGIC advant compatible reader chip generation, the SC-2560. Due to the discontinuation of this chip in the year 2014 the support of the command group has been limited to the transparent command, which not only allows direct access to the former SC-2560, but also to the follow-up reader chip generation SM-4x00.
Please consult the official LEGIC documentation for the available command codes and parameters.
WARNING: This command set is not available in all Baltech reader firmware variants.
Status codes
BRP status | BRP Library Error Code | Mnemonic | Description |
---|---|---|---|
0x01 | 0x1201 (4609) | Lga.ErrNotag | No LEGIC Advant/Prime card found in the reader's HF field or communication with card lost. |
0x02 | 0x1202 (4610) | Lga.ErrLegic |
The LEGIC reader chip returned an error code. The LEGIC reader reported an error that occurred during command execution. The actual LEGIC status code appears in the response parameter. |
0x03 | 0x1203 (4611) | Lga.ErrCommunication |
Communication error. Command could not be executed successfully due to a error in the communication of the reader controller with the LEGIC chip (e.g. checksum error, internal timeout error). It is recommended to repeat the command. |
0x04 | 0x1204 (4612) | Lga.ErrNotInitialized |
LEGIC support is not initialized yet. After powering up, the LEGIC chip normally needs several 100 milliseconds until it is ready to execute commands. As long as the reader returns this status code the command needs to be repeated. If the LEGIC chip is still not available 3.5 seconds after the reader has powered up, usually due to a hardware defect, the Rf13MHzLegic boot status of the Baltech reader will be set (The Baltech reader boot status can be read using the Sys.GetBootStatus command). |
0x05 | 0x1205 (4613) | Lga.ErrNotAssembled |
No LEGIC reader chip is assembled on this hardware. This reader device doesn't support LEGIC. Please check the model number. |